{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'isUserInRole(role)'
Method: isUserInRole(role)
Method Full Name:     Sys$Services$_RoleService$isUserInRole(role)
Class: _RoleService
Namespace: Sys.Services
Source File: MicrosoftAjax.debug.js
1   function Sys$Services$_RoleService$isUserInRole(role) {
2     /// <summary locid="M:J#Sys.Services._RoleService.isUserInRole" />
3     /// <param name="role" type="String" mayBeNull="false"></param>
4     var e = Function._validateParams(arguments, [
5     {name: "role", type: String}
6     ]);
7     if (e) throw e;
8     var v = this._get_rolesIndex()[role.trim().toLowerCase()];
9     return !!v;
10  }
This is the JavaScript source for method isUserInRole(role) from ASP.NET AJAX Library. Full name for this method is Sys$Services$_RoleService$isUserInRole(role). It belongs to the class _RoleService, which is in Sys.Services namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map