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!

SiteIdentityPermission Constructor (PermissionState)

Initializes a new instance of the SiteIdentityPermission class to either the completely unrestricted (matches all sites) or restricted (matches no sites) state.

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

Parameters

state
Specifies if the permission is to be initialized to the unrestricted or restricted state.

Exceptions

Exception Type Condition
ArgumentException if state is other than a valid PermissionState value.

See Also

SiteIdentityPermission Class | SiteIdentityPermission Members | System.Security.Permissions Namespace | SiteIdentityPermission Constructor Overload List