SetName 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.

IERUUser
IERUPrincipalItem

 

 

SetName method

Sets the user's first, middle, and last names.

Syntax


C++

HRESULT SetName (
   BSTR First,

   BSTR Middle,

   BSTR Last)

Scripting languages

Object.SetName
   First as String,

   Middle as String,

   Last as String

Parameters


First

The user's first name.

Middle

The user's middle name.

Last

The user's last name.

Return value


C++

The return code.

Scripting languages

None.

Remarks


A first, middle, or last name must be no longer than 255 characters.

Go to Top

Home

Applies to

IERUUser

 

 

SetName method

Sets the principal item's name, making the latter unique if requested.

Syntax


C++

HRESULT SetName (
   BSTR Name,

   BOOL bUnique)

Scripting languages

Object.SetName
   Name as String,

   bUnique as BOOL

Parameters


Name

The principal item's name.

bUnique

Make principal item's name unique if TRUE.

Return value


C++

The return code.

Scripting languages

None.

Remarks


A name can be no longer than 128 characters.

Go to Top

Home

Applies to

IERUPrincipalItem