CreateRole($roleName); } public static function DeleteCookie() { } public static function DeleteRole($roleName,$throwOnPopulatedRole=true) { self::EnsureEnabled(); // $flag1 = self::$_Provider->DeleteRole($roleName,$throwOnPopulatedRole); // try // { // $principal1 = self::GetCurrentUser(); // } // catch () // { // // } } private static function EnsureEnabled() { self::Initialize(); if (!self::$_s_Initialized) { throw new TException('Roles_feature_not_enabled'); } } public static function FindUsersInRole($roleName,$usernameToMatch) { } public static function GetAllRoles() { } private static function GetCurrentUser() { } private static function GetCurrentUserName() { } public static function GetRolesForUser($username=null) { } public static function GetUsersInRole($roleName) { } private static function Initialize() { if (self::$_s_Initialized) { if (self::$_s_InitializeException!==null) { throw new $_s_InitializeException; } } else { if (self::$_s_Initialized) { if (self::$_s_InitializeException!==null) { throw new $_s_InitializeException; } return; } try { self::$_Enabled; self::$_CookieName; self::$_CookiePath; self::$_CacheRolesInCookie; self::$_CookieTimeout; self::$_CookiePath; self::$_CookieRequireSSL; self::$_CookieSlidingExpiration; self::$_CookieProtectionValue; self::$_Domain; self::$_CreatePersistentCookie; self::$_MaxCachedResults; if (self::$_Enabled) { if (self::$_MaxCachedResults < 0) { throw new TException('Value_must_be_non_negative_integer',self::$_MaxCachedResults); }////stopped here } } catch (TException $e) { } } } public static function IsUserInRole($roleName,$username=null) { } public static function RemoveUserFromRole($username,$roleName) { } public static function RemoreUserFromRoles($username,$roleNames) { } public static function RemoveUsersFromRole($usernames,$roleName) { } public static function RemoveUsersFromRoles($usernames,$roleNames) { } public static function RoleExists($roleName) { } } ?>