IAzRole::Name property

The Name property sets or retrieves the name of the role.

This property is read/write.

Syntax


HRESULT put_Name(
  [in]  BSTR bstrName
);

HRESULT get_Name(
  [out] BSTR *pbstrName
);

Property value

String that represents the name of the role.

Error codes

If the property access methods get_Name and put_Name succeed, they return S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

The maximum length of the Name property is 64 characters.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Server 2003 Administration Tools Pack on Windows XP

Header

Azroles.h

Library

Azroles.lib

DLL

Azroles.dll

IID

IID_IAzRole is defined as 859e0d8d-62d7-41d8-a034-c0cd5d43fdfa

 

 

Show: