ISecurityManager Authorize Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Authorizes user by finding appropriate access level to permission by supplied path. Depending on particular implementation, rights may be fully or partially cached in memory. Note: this authorization call returns AccessLevel object that may contain a complex data structure. The final assertion of user's ability to perform a certain action is encapsulated in Permission.Check() method. Call Permission.AuthorizeAndGuardAction(MemberInfo, ISession) to guard classes and methods from unauthorized access

Namespace: NFX.Security
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

AccessLevel Authorize(
	User user,
	Permission permission
)

Return Value

Type: AccessLevel
AccessLevel granted to specified permission
See Also