Partilhar via


UserGroup.UpdateRoleDefInfo Method

Updates information for the specified role definition.

Namespace:  [UserGroup Web service]
Web service reference: http://Site/_vti_bin/UserGroup.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/directory/UpdateRoleDefInfo", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/directory/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/directory/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UpdateRoleDefInfo ( _
    oldRoleName As String, _
    roleName As String, _
    description As String, _
    permissionMask As ULong _
)
'Usage
Dim instance As UserGroup
Dim oldRoleName As String
Dim roleName As String
Dim description As String
Dim permissionMask As ULong

instance.UpdateRoleDefInfo(oldRoleName, _
    roleName, description, permissionMask)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/directory/UpdateRoleDefInfo", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/directory/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/directory/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdateRoleDefInfo(
    string oldRoleName,
    string roleName,
    string description,
    ulong permissionMask
)

Parameters

  • oldRoleName
    Type: System.String

    A string that contains the old name of the role definition.

  • roleName
    Type: System.String

    A string that contains the name of the role definition.

  • description
    Type: System.String

    A string that contains the description for the role definition.

  • permissionMask
    Type: System.UInt64

    A 64-bit unsigned integer in 0x00000000 format that represents a Microsoft.SharePoint.SPRights value and specifies permissions for the new role definition. Use the pipe symbol ("|") in Visual C# or Or in Visual Basic to delimit values when creating a custom permission mask that combines permissions.

See Also

Reference

UserGroup Class

UserGroup Members

UserGroup Web Service