MarkLogic XCC/.Net Library |

# ContentPermission.NewUpdatePermission Method

Convenience factory method to create a permission object with update capability and the given role.

[Visual Basic]
Public Shared Function NewUpdatePermission( _
ByVal role As String _
) As ContentPermission
[C#]
public static ContentPermission NewUpdatePermission(
string role
);

#### Parameters

role
  A Role name

#### Return Value

A new, immutable ContentPermission instance.

#### See Also

ContentPermission Class | Marklogic.Xcc Namespace