The User Does Not Have Rsop Data Microsoft

On
The User Does Not Have Rsop Data Microsoft 3,5/5 1190 votes
-->
  1. Rsop

Monsoon documentary. Takes a snapshot of actual policy data for display by the RSoP MMC snap-in (rsop.msc).

This method is implemented in the provider.

Syntax

Parameters

Microsoft Networking Services. The user 'Domain user' does not have RSOP data 25th March 2009, 15:47. When I run gpresult on some users I get the error. The Mad Scripter's Diary. By Mike Stephens, Microsoft Corporation. A return value of 1 means that RSOP data for the user is not available.

flags [in]

Pdf

Specifies a set of bit flags. You can use this parameter to specify the type of data to retrieve. If you do not specify a type, the method retrieves both user and computer data. You can also specify whether the system should create a new snapshot of the WMI namespace to contain the RSoP data.

FLAG_NO_USER

Retrieve RSoP computer data only.

FLAG_NO_COMPUTER

Retrieve RSoP user data only.

Rsop

FLAG_FORCE_CREATENAMESPACE

Create a temporary snapshot of the WMI namespace. For more information, see the following Remarks section.

userSid [in]

Specifies the SID of the user of interest. If this parameter is NULL, the function uses the SID of the calling thread. For more information, see Security Identifiers.

nameSpace [out]

Specifies the RSoP namespace where logging mode data is created. Computer data is stored under 'nameSpaceComputer' and user data is stored under 'nameSpaceUser{Sid}'. An example of a namespace would be '.RootRsopNS71EF4AA3_FB96_465F_AC1C_DFCF9A3E9010'.

You can run the RSoP MMC snap-in to display the data in the RSoP namespace, specifying the generated namespace and the computer on which the logging mode provider was invoked. For more information, see the following Remarks section.

hResult [out]

Info the user does not have rsop data

An HRESULT that indicates the success or failure of the method. If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in the Platform SDK header file WinError.h.

ExtendedInfo [out]

Currently, this parameter can have one of the following values.

RSOP_USER_ACCESS_DENIED

User RSoP data is not available to the user.

RSOP_COMPUTER_ACCESS_DENIED

Microsoft

Computer RSoP data is not available to the user.

RSOP_TEMPNAMESPACE_EXISTS

The value FLAG_FORCE_CREATENAMESPACE was not specified in the flags parameter and a snapshot of the namespace already exists; the user is not an administrator. For more information, see the following Remarks section.

Return value

This method has no return value. For more information, see the description of the hResult parameter.

Remarks

The User Does Not Have Rsop Data Microsoft

Non-administrative users and users without RSoP delegation are allowed one temporary RSoP namespace for logging mode data. If you pass the FLAG_FORCE_CREATENAMESPACE flag to the RsopCreateSession method, the logging mode provider deletes the user's existing RSoP namespace and creates a new namespace for the user with updated logging mode data.

To view RSoP logging mode data, an administrator could pass the namespace returned by this method as a command-line parameter to the RSoP MMC snap-in. For example, if you run the snap-in on the computer 'TestDC.example.microsoft.com', you could invoke the snap-in in the following manner:

Rsop.msc /RsopNamespace:'.RootRsopNS71EF4AA3_FB96_465F_AC1C_DFCF9A3E9010' /RsopTargetComp:'TestDC.example.microsoft.com'

To remotely target the RSoP snap-in to the same namespace, you could invoke the snap-in in the following manner:

Rsop.msc /RsopNamespace:'TestDC.example.microsoft.comRootRsopNS71EF4AA3_FB96_465F_AC1C_DFCF9A3E9010' /RsopTargetComp:'TestDC.example.microsoft.com'

For more information about running rsop.msc from the command-line, see the Windows Server Help.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
RootRSOPComputer
MOF
Rsop.mof
DLL
GPSvc.dll

See also