Partager via


AuthorizationHelper Class

 

Represents the status of the current thread principal.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.ProviderFramework.AuthorizationHelper

Syntax

public static class AuthorizationHelper
public ref class AuthorizationHelper abstract sealed 
Public NotInheritable Class AuthorizationHelper

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static DemandAll(SecurityIdentifier[], Boolean)

Determines whether the current thread principal is a member of all of the specified groups.

System_CAPS_pubmethodSystem_CAPS_static DemandLocalAdminGroup(Boolean)

Determines whether the current thread principal is a member of the local administrator group.

System_CAPS_pubmethodSystem_CAPS_static DemandOne(SecurityIdentifier[], Boolean)

Determines whether the current thread principal is a member of one of the specified groups.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top