NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PermissionSet Constructor (PermissionState)

Initializes a new instance of the PermissionSet class.

[Visual Basic]
Overloads Public Sub New( _
   ByVal state As PermissionState _
)
[C#]
public PermissionSet(
   PermissionState state
);
[C++]
public: PermissionSet(
   PermissionState state
);
[JScript]
public function PermissionSet(
   state : PermissionState
);

Parameters

state
Specifies restricted (the empty permission set) or unrestricted (effectively includes all permissions in unrestricted state) initial state.

Remarks

Use the AddPermission method to build up the permission set.

See Also

PermissionSet Class | PermissionSet Members | System.Security Namespace | PermissionSet Constructor Overload List