Visual Guard Class Library Documentation |
|
VGIPrincipal.TryGetPermission Method (Guid, VGIPermission&)
Retrieves the VGIPermission object granted to principal with the specified id.
Parameters
-
id
- The Visual Guard unique identifier of the permission to get.
-
permission
- When this method returns, contains the permission associated with the specified id, if the id corespond to a granted permission; otherwise, null.
Return Value
true if the permission corresponding to the specified id is granted to the principal. Otherwise false if the permission is not granted or does not exist.
See Also
VGIPrincipal Interface | Novalys.VisualGuard.Security Namespace | VGIPrincipal.TryGetPermission Overload List