ObjectSecurity.GetGroup(Type) 方法

定义

获取与指定所有者关联的主要组。Gets the primary group associated with the specified owner.

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

参数

targetType
Type

要获取其主要组的所有者。The owner for which to get the primary group.

返回

与指定所有者关联的主要组。The primary group associated with the specified owner.

适用于