'DeclarationPublic Function GetSecurityRoleIds( _ ByVal userIdentity As IUserIdentity, _ ByRef securityRoleIdList As IReadOnlyList(Of String) _ ) As Boolean
'UsageDim instance As UserManagers Dim userIdentity As IUserIdentity Dim securityRoleIdList As IReadOnlyList(Of String) Dim value As Boolean value = instance.GetSecurityRoleIds(userIdentity, securityRoleIdList)
public bool GetSecurityRoleIds( IUserIdentity userIdentity, out IReadOnlyList<string> securityRoleIdList )
public: bool GetSecurityRoleIds( IUserIdentity^ userIdentity, [Out] IReadOnlyList<String^>^ securityRoleIdList )
Parameters
- userIdentity
- The user identity for which to retrieve security role IDs.
The value of this parameter cannot be
null(Nothingin Visual Basic). - securityRoleIdList
- When this method returns
true, contains the list of security role IDs if found; otherwise, it containsnull.The value of this parameter can be
null(Nothingin Visual Basic).The individual elements of the parameter value cannot be
null(Nothingin Visual Basic).
Return Value
true if the security role IDs were retrieved successfully; otherwise, false.