ObjectSecurity.GetGroup(Type) Metod
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.
Hämtar den primära gruppen som är associerad med den angivna ägaren.
public:
System::Security::Principal::IdentityReference ^ GetGroup(Type ^ targetType);
public System.Security.Principal.IdentityReference? GetGroup(Type targetType);
public System.Security.Principal.IdentityReference GetGroup(Type targetType);
member this.GetGroup : Type -> System.Security.Principal.IdentityReference
Public Function GetGroup (targetType As Type) As IdentityReference
Parametrar
- targetType
- Type
Ägaren för vilken den primära gruppen ska hämtas.
Returer
Den primära gruppen som är associerad med den angivna ägaren.