public static int DoSessionEnd(string username, string serviceId, string privateKey, string apiURL)
        {
            var serviceClient = ClientFactories.MakeServiceClient(serviceId, privateKey, apiURL);

            return(SharedServiceHelpers.DoSessionEnd(serviceClient, username));
        }
Beispiel #2
0
        /// <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));
        }