ActiveDirectoryRoleFactory Klass
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Varning
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
En fabriksklass för att skapa ActiveDirectoryRole objekt från Windows NT-alias, e-postadresser och säkerhetsidentifierare (SID).
public ref class ActiveDirectoryRoleFactory abstract sealed
public static class ActiveDirectoryRoleFactory
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public static class ActiveDirectoryRoleFactory
type ActiveDirectoryRoleFactory = class
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActiveDirectoryRoleFactory = class
Public Class ActiveDirectoryRoleFactory
- Arv
-
ActiveDirectoryRoleFactory
- Attribut
Kommentarer
Note
I det här materialet diskuteras typer och namnområden som är föråldrade. Mer information finns i Deprecated Types in Windows Workflow Foundation 4.5.
Alla metoder i ActiveDirectoryRoleFactory är statiska och ingen instans behöver skapas. Konstruktorn är dold.
Egenskaper
| Name | Description |
|---|---|
| Configuration |
Föråldrad.
Hämtar objektet ActiveDirectoryRoleFactoryConfiguration som är associerat med ActiveDirectoryRoleFactory. |
Metoder
| Name | Description |
|---|---|
| CreateFromAlias(String) |
Föråldrad.
Skapar en instans av ActiveDirectoryRole med det angivna Windows NT-aliaset. |
| CreateFromEmailAddress(String) |
Föråldrad.
Skapar en instans av ActiveDirectoryRole att använda en e-postadress. |
| CreateFromSecurityIdentifier(SecurityIdentifier) |
Föråldrad.
Skapar en instans av ActiveDirectoryRole med hjälp av en Windows NT SecurityIdentifier. |