Partager via


MachineIdentityManager Class

 

Represents the operations that are used to manage the identities of computers.

Namespace:   Microsoft.WindowsServerSolutions.Devices.Identity
Assembly:  MachineIdentityObjectModel (in MachineIdentityObjectModel.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Devices.Identity.MachineIdentityManager

Syntax

public class MachineIdentityManager : IDisposable
public ref class MachineIdentityManager : IDisposable
Public Class MachineIdentityManager
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod MachineIdentityManager()

Initializes a new instance of the MachineIdentityManager class.

System_CAPS_pubmethod MachineIdentityManager(String)

Initializes a new instance of the MachineIdentityManager class with the specified server name.

Properties

Name Description
System_CAPS_pubproperty Connected

Gets the status of the connection.

System_CAPS_pubpropertySystem_CAPS_static ServerName

Gets or sets the name of the server.

Methods

Name Description
System_CAPS_pubmethod Connect()

Connects the Machine Identity Manager to the User Provider.

System_CAPS_pubmethod ConnectAsync()

Asynchronously connects the Machine Identity Manager to the User Provider.

System_CAPS_pubmethod ConnectAsync(TimeSpan)

Asynchronously connects the Machine Identity Manager to the User Provider with the specified timeout period.

System_CAPS_pubmethod Dispose()

Release all of the resources that are used by the MachineIdentityManager object.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources used by the MachineIdentityManager object and optionally releases the managed resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static GetCert(String, String, Boolean)

Returns the certificate for the local computer.

System_CAPS_pubmethodSystem_CAPS_static GetCert(String, String, String)

Returns the certificate for the local computer.

System_CAPS_pubmethodSystem_CAPS_static GetCert(String, String, String, Boolean)

Returns the certificate for the local computer.

System_CAPS_pubmethodSystem_CAPS_static GetCert(String, String, String, String, String, Boolean)

Retrieves the certification for the specified dns host name and netbios name.

System_CAPS_pubmethod GetCertResponse(String, String, String, String)

Authenticates the user name and password for the computer.

System_CAPS_pubmethod GetCertResponseAsync(String, String, String, String)

Asynchronously authenticates the user name and password for the computer.

System_CAPS_pubmethodSystem_CAPS_static GetExpiredDateOfMachineCert()

Returns the expiration date of the computer certificate.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static GetLocalMachineCert()

Returns the certificate for the local computer.

System_CAPS_pubmethodSystem_CAPS_static GetMachineStatus(String, String, Boolean)

Returns the status of the computer.

System_CAPS_pubmethod GetMachineStatus(String, String, String)

Returns the status of the computer.

System_CAPS_pubmethodSystem_CAPS_static GetMachineStatus(String, String, String, String, Boolean)

Returns the status of the computer.

System_CAPS_pubmethod GetMachineStatusAsync(String, String, String)

Asynchronously returns the status of the computer.

System_CAPS_pubmethod GetSid(String, String, String, Boolean)

Returns a security identifier for the specified computer.

System_CAPS_pubmethod GetSidAsync(String, String, String, Boolean)

Asynchronously returns a security identifier for the specified computer.

System_CAPS_pubmethodSystem_CAPS_static GetStandardUserSids(String, String, String)

Retrieves an array of SIDs of standard users, using the specified server.

System_CAPS_pubmethodSystem_CAPS_static GetStandardUserSids(String, String, String, String)

Retrieves an array of SIDs of standard users as well as the connected DC, using the specified server.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static IsClientCertNeedRenew()

Indicates whether the certificate on the client computer must be renewed.

System_CAPS_pubmethodSystem_CAPS_static IsServerCertNeedRenew()

Indicates whether the certificate on the server must be renewed.

System_CAPS_pubmethod MakeUserRemoteDesktopMapping(String)

Creates the mapping for the User Remote Desktop.

System_CAPS_pubmethod MakeUserRemoteDesktopMappingAsync(String)

Asynchronously creates the mapping for the User Remote Desktop.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RemoveMachine(String, String)

Removes the computer from the system synchronization call.

System_CAPS_pubmethod RemoveMachineAysnc(String, String)

Asynchronously removes the computer from the system synchronization call.

System_CAPS_pubmethod RenewCert()

Renews the certificate for the local computer.

System_CAPS_pubmethod RenewCertAsync()

Asynchronously renews the certificate for the local computer.

System_CAPS_pubmethod RevokeCert()

Revokes the certificate for the local computer.

System_CAPS_pubmethod RevokeCertAsync()

Asynchronously revokes the certificate for the local computer.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent ConnectRequestCompletionCallback

Represents the callback for the completion of a connection request.

System_CAPS_pubevent ConnectTimeoutCallback

Represents the event for the callback of ConnectTimeout.

System_CAPS_pubevent GenerateCertCompletionCallback

Represents the event for the callback of GenerateCertCompletion.

System_CAPS_pubevent GenerateSidCompletionCallback

Represents the event for the callback of GenerateSidCompletion.

System_CAPS_pubevent GetMachineStatusCompletionCallback

Represents the event for the callback of GetMachineStatusCompletion.

System_CAPS_pubevent MakeUserRemoteDesktopMappingCompletionCallback

Represents the callback for the event of MakeUserRemoteDesktopMappingCompletion.

System_CAPS_pubevent RemoveMachineCompletionCallback

Represents the event for the callback of RemoveMachineCompletion.

System_CAPS_pubevent RenewCertCompletionCallback

Represents the event for the callback of RenewCertCompletion.

System_CAPS_pubevent RevokeCertCompletionCallback

Represents the event for the callback of RevokeCertCompletion.

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.

See Also

Microsoft.WindowsServerSolutions.Devices.Identity Namespace

Return to top