Gets wether a certain user is authorized to view this item.
Namespace:
N2Assembly: N2 (in N2.dll) Version: 1.0.404.40299 (1.4.4)
Syntax
| C# |
|---|
public virtual bool IsAuthorized( IPrincipal user ) |
| Visual Basic (Declaration) |
|---|
Public Overridable Function IsAuthorized ( _ user As IPrincipal _ ) As Boolean |
| Visual C++ |
|---|
public: virtual bool IsAuthorized( IPrincipal^ user ) |
Parameters
- user
- Type: System.Security.Principal..::.IPrincipal
The user to check.
Return Value
True if the item is open for all or the user has the required permissions.Implements
IContainable..::.IsAuthorized(IPrincipal)INode..::.IsAuthorized(IPrincipal)