SetExternalCredentials method

This method is implemented by the following interfaces. Click one of the links below to jump to the description of the method as it pertains to that interface.

IERUExternalStorageManager
IERUUser

 

 


SetExternalCredentials method

Sets the username to be used when accessing an external storage provider. The password is validated at the time the method is called. Calling this method with null ExternalLogin and null ExternalPassword will clear all stored credentials.

Syntax


C++

HRESULT SetExternalCredentials (
   ERUProviderFamily FamilyID,
   IERUMember* pUser,
   BSTR ExternalLogin,
   BSTR ExternalPassword)

Scripting languages

Object.SetExternalCredentials
FamilyID as ERUPRoviderFamily,
pUser as IERUMember,
ExternalLogin as String,
ExternalPassword as String

Parameters


FamilyID

The ID of the provider family, as an ERUProviderFamily enumeration.

pUser

An eRoom user object (cannot be a group).

ExternalLogin

The external login name.

ExternalPassword

The external password.

Return value


C++

The return code.

Scripting languages:

None.

Home

Applies to

IERUExternalStorageManager

Go to top
 

SetExternalCredentials method

Sets the username to be used when accessing an external storage provider. The password is validated at the time the method is called. Calling this method with null ExternalLogin and null ExternalPassword will clear all stored credentials.

Syntax


C++

HRESULT SetExternalCredentials (
   ERUProviderFamily FamilyID,
   BSTR ExternalUsername,
   BSTR ExternalPassword)

Scripting languages

Object.SetExternalCredentials
FamilyID as ERUPRoviderFamily,
ExternalLogin as String,
ExternalPassword as String

Parameters


FamilyID

The ID of the provider family, as an ERUProviderFamily enumeration.

ExternalLogin

The external login name.

ExternalPassword

The external password.

Return value


C++

The return code.

Scripting languages:

None.

Home

Applies to

IERUUser