RSOP_TARGET structure (userenv.h)
The RSOP_TARGET structure contains computer and user information required by the GenerateGroupPolicy function.
Syntax
typedef struct _RSOP_TARGET {
WCHAR *pwszAccountName;
WCHAR *pwszNewSOM;
SAFEARRAY *psaSecurityGroups;
PRSOPTOKEN pRsopToken;
PGROUP_POLICY_OBJECT pGPOList;
IWbemServices *pWbemServices;
} RSOP_TARGET, *PRSOP_TARGET;
Members
pwszAccountName
Pointer to the account name of the computer or the user.
pwszNewSOM
Pointer to the new domain or organizational unit that is the location for the account identified by the pwszAccountName member. This member can be NULL.
psaSecurityGroups
Pointer to a SAFEARRAY that contains a proposed list of new security groups. This member can be NULL. For more information about security groups, see Filtering the Scope of a GPO and How Security Groups are Used in Access Control.
pRsopToken
Pointer to an RSOPTOKEN to use with the RSoPAccessCheckByType and the RSoPFileAccessCheck functions.
pGPOList
Pointer to a GROUP_POLICY_OBJECT structure containing a linked list of GPOs.
pWbemServices
Specifies the WMI services pointer to the namespace to which the planning mode policy data should be written.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Header | userenv.h |