Click or drag to resize

IDatabaseRepositoryGetAuthorizationLevel Method (IObject, String)

Gets the authorization level.

Namespace:  PDTec.IceNet.Core.Database
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
int GetAuthorizationLevel(
	IObject pObject,
	string userName
)

Parameters

pObject
Type: PDTec.IceNet.Core.ModelIObject
The object.
userName
Type: SystemString
The user name.

Return Value

Type: Int32
The authorization level.
Remarks
This method recognizes authorization derived by group/role membership. To retrieve the actual ACL entries of this object use the GetAuthorizations(IObject) method.
See Also