FederationServerSoapProxy.BeginRequestSecurityTokenWithSids Method (String, String, String[], Byte[], String, AsyncCallback, Object)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

This method supports the AD FS infrastructure and is not meant to be used directly from your code. This web method is called together with the EndRequestSecurityTokenWithSids web method by the FS proxy to asynchronously request a security token based on windows authentication.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public IAsyncResult BeginRequestSecurityTokenWithSids(
    string userSamName,
    string usersid,
    string[] groupsids,
    byte[] cookie,
    string targetRealmName,
    AsyncCallback callback,
    object asyncState
)
public:
virtual IAsyncResult^ BeginRequestSecurityTokenWithSids(
    String^ userSamName,
    String^ usersid,
    array<String^>^ groupsids,
    array<unsigned char>^ cookie,
    String^ targetRealmName,
    AsyncCallback^ callback,
    Object^ asyncState
) sealed
abstract BeginRequestSecurityTokenWithSids : 
        userSamName:string *
        usersid:string *
        groupsids:string[] *
        cookie:byte[] *
        targetRealmName:string *
        callback:AsyncCallback *
        asyncState:Object -> IAsyncResult
override BeginRequestSecurityTokenWithSids : 
        userSamName:string *
        usersid:string *
        groupsids:string[] *
        cookie:byte[] *
        targetRealmName:string *
        callback:AsyncCallback *
        asyncState:Object -> IAsyncResult
Public Function BeginRequestSecurityTokenWithSids (
    userSamName As String,
    usersid As String,
    groupsids As String(),
    cookie As Byte(),
    targetRealmName As String,
    callback As AsyncCallback,
    asyncState As Object
) As IAsyncResult

Parameters

  • usersid
    Type: System.String

    The user security identifier (SID).

  • groupsids
    Type: System.String[]

    The group security identifiers.

  • cookie
    Type: System.Byte[]

    The cookie obtained from the client.

  • targetRealmName
    Type: System.String

    The name of the target realm for which the security token is being requested. This may be either a federation partner or a resource web server.

  • asyncState
    Type: System.Object

    An object that can be used to access state information of the asynchronous operation.

Return Value

Type: System.IAsyncResult

The status of the asynchronous operation.

Implements

IFederationServer.BeginRequestSecurityTokenWithSids(String, String, String[], Byte[], String, AsyncCallback, Object)

See Also

FederationServerSoapProxy Class
System.Web.Security.SingleSignOn Namespace

Return to top