public static int DoSessionEnd(string username, string serviceId, string privateKey, string apiURL) { var serviceClient = ClientFactories.MakeServiceClient(serviceId, privateKey, apiURL); return(SharedServiceHelpers.DoSessionEnd(serviceClient, username)); }
/// <summary> /// End a session for a directory service and user /// </summary> public static int DoDirectoryServiceSessionEnd(string directoryId, string privateKey, string serviceId, string userId, string apiURL) { var serviceClient = ClientFactories.MakeDirectoryServiceClient(directoryId, privateKey, serviceId, apiURL); return(SharedServiceHelpers.DoSessionEnd(serviceClient, userId)); }