The SecurityAssert type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsAuthenticated
Asserts that identity is authenticated.
IsNotAuthenticated
Asserts that identity is not authenticated.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WindowIsAuthenticated
Asserts that the current windows identity is authenticated.
WindowIsNotAuthenticated
Asserts that the current windows identity is not authenticated.
WindowsIsInAdministrator
Asserts that the current windows identity is in the Administrator role.
WindowsIsInGuest
Asserts that the current windows identity is in the Guest role.
WindowsIsInPowerUser
Asserts that the current windows identity is in the PowerUser role.
WindowsIsInRole
Asserts that the current windows identity is in .
WindowsIsInUser
Asserts that the current windows identity is in the User role.

See Also