Builds a security descriptor for a FIM CM request.
Namespace: Microsoft.Clm
Assembly: Microsoft.Clm.Common (in microsoft.clm.common.dll)

Usage

Visual Basic
Dim instance As IRequestSecurity
Dim originatorUserName As String
Dim targetUserName As String
Dim profile As UserProfile
Dim requestType As RequestType
Dim requestFlags As RequestFlags
Dim returnValue As String

returnValue = instance.BuildRequestSecurityDescriptor(originatorUserName, targetUserName, profile, requestType, requestFlags)

Syntax

Visual Basic
Function BuildRequestSecurityDescriptor ( _
		originatorUserName As String, _
		targetUserName As String, _
		profile As UserProfile, _
		requestType As RequestType, _
		requestFlags As RequestFlags _
) As String
C#
string BuildRequestSecurityDescriptor (
		string originatorUserName,
		string targetUserName,
		UserProfile profile,
		RequestType requestType,
		RequestFlags requestFlags
)
C++
String^ BuildRequestSecurityDescriptor (
		String^ originatorUserName, 
		String^ targetUserName, 
		UserProfile^ profile, 
		RequestType requestType, 
		RequestFlags requestFlags
)
J#
String BuildRequestSecurityDescriptor (
		String originatorUserName, 
		String targetUserName, 
		UserProfile profile, 
		RequestType requestType, 
		RequestFlags requestFlags
)
JScript
function BuildRequestSecurityDescriptor (
		originatorUserName : String, 
		targetUserName : String, 
		profile : UserProfile, 
		requestType : RequestType, 
		requestFlags : RequestFlags
) : String

Parameters

originatorUserName

A String object that contains the domain name and username of the user who initiated the FIM CM request.

targetUserName

A String object that contains the domain name and username of the target user of the FIM CM request.

profile

A UserProfile object that describes the profile for the target user.

requestType

A RequestType value that indicates the type of the FIM CM request.

requestFlags

A combination of RequestFlags values combined by using the bitwise OR operation that indicate the options that are associated with the FIM CM request.

Return Value

A String object that contains the security descriptor in security descriptor definition language (SDDL).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 2008 x64 Edition

Target Platforms

Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2

See Also