Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringA string that contains the old name of the role definition.
roleName
Type: System.StringA string that contains the name of the role definition.
description
Type: System.StringA string that contains the description for the role definition.
permissionMask
Type: System.UInt64A 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.