SPDatabase.IsRoleMember method
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Friend Function IsRoleMember ( _
user As String, _
role As String _
) As Boolean
'Usage
Dim user As String
Dim role As String
Dim returnValue As Boolean
returnValue = Me.IsRoleMember(user, _
role)
protected internal bool IsRoleMember(
string user,
string role
)
Parameters
- user
Type: System.String
- role
Type: System.String
Return value
Type: System.Boolean