IProfileService::Unbind

Ee811074.c++_off(en-US,CS.10).gifEe811074.vb_on(en-US,CS.10).gif

Use this method to clear the credentials that are used to access ProfileObject objects in the underlying Profiles store.

Definition

HRESULT IProfileService::Unbind();

Parameters

None.

Return Values

This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.

Error Values

The Errors property stores the collection of errors encountered in the last Profiles resource operation. For more information, see IProfileService::get_Errors.

Remarks

This method clears the credentials used to access ProfileObject objects in the underlying store. Any new profiles or modifications will not be bound to a specific user. Use this method to gain access to existing ProfileObject objects that are not bound to a specific user.

Use the Bind method to set the credentials to access ProfileObject objects that are bound to a specific user.

Call the Initialize method before you use this ProfileService method.

See Also

ProfileService Object

IProfileService::BindAs


All rights reserved.