VGIPrincipalTryGetPermission Method (String, VGIPermission)
|
Retrieves the
VGIPermission object granted to principal with the specified name.
Namespace:
Novalys.VisualGuard.Security
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax bool TryGetPermission(
string fullname,
out VGIPermission permission
)
Function TryGetPermission (
fullname As String,
<OutAttribute> ByRef permission As VGIPermission
) As Boolean
Parameters
- fullname
- Type: SystemString
The full name of the permission, including the folder path. - permission
- Type: Novalys.VisualGuard.SecurityVGIPermission
When this method returns, contains the permission whut the specified name, if the name correspond to a granted permission; otherwise, null.
Return Value
Type:
Booleantrue if the permission corresponding to the specified name is granted to the principal. False if the permission is not granted or does not exist.
See Also