|
SecurityHubUserIsInRole Method
|
Determines if user is in role based on database ID values.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.230-beta
Syntaxpublic bool UserIsInRole(
Guid userID,
Guid roleID
)
Public Function UserIsInRole (
userID As Guid,
roleID As Guid
) As Boolean
public:
bool UserIsInRole(
Guid userID,
Guid roleID
)
member UserIsInRole :
userID : Guid *
roleID : Guid -> bool
function UserIsInRole(userID, roleID);
View SourceParameters
- userID Guid
- User ID value.
- roleID Guid
- Role ID value.
Return Value
Booleantrue if user is in role; otherwise,
false.
See Also