Registers an authorization object.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function RegisterObject( _
ByVal objectInstance As SourceCode.Authorization.Interfaces.IAuthorizationObject _
) As Guid
|
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As AuthorizationClient
Dim objectInstance As SourceCode.Authorization.Interfaces.IAuthorizationObject
Dim value As Guid
value = instance.RegisterObject(objectInstance)
|
| C# | |
|---|
public Guid RegisterObject(
SourceCode.Authorization.Interfaces.IAuthorizationObject objectInstance
)
|
| C++/CLI | |
|---|
public:
Guid RegisterObject(
SourceCode.Authorization.Interfaces.IAuthorizationObject^ objectInstance
)
|
Parameters
- objectInstance
- The authorization object instance.
Return Value
The unique identifier of the registered object.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also